# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=rpmextract
pkgver=1.0
pkgrel=8
pkgdesc="Script to convert or extract RPM archives (contains rpm2cpio)"
url="http://www.archlinux.org"
arch=('any')
license=('GPL')
depends=('bash' 'libarchive' 'coreutils')
source=('rpmextract.sh' 'rpm2cpio')
sha512sums=('2769f9d7b7831ed766bf06262eccc84c938390ff84443e704ba765f9d5ddaa46836d5d3b839d4853175d613d7b1f266e5ac8a18fa6f527ed0a445cb644b592dc'
            'b086abd4bd861c0cc2cc7c103152d7254e60a917add17ccf5c4e352ab12690930982c7bdee44b89f12f082531da2fae152a48bc5b80959c187d0a29de29bac97')

package() {
  install -d ${pkgdir}/usr/bin
  install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/
  install -m755 ${srcdir}/rpm2cpio ${pkgdir}/usr/bin/
}
